Versions:
wsly by Mihai Valentin runs commands in an interactive WSL Bash session from PowerShell. The emphasis lies on the word interactive. When a command is passed from Windows to the Windows Subsystem for Linux in the usual way, the Bash shell is normally started non-interactively, so the startup configuration of the shell is not loaded and shell functions or aliases defined there are missing. wsly starts the command in an interactive Bash session instead, which makes the Bash startup configuration and the shell functions available to it. Optionally, the shell can be kept open after the command has succeeded, so work can continue directly in the Linux environment. The tool belongs to the category of shell utilities for developers; its tags name WSL, Bash, PowerShell and shell. Typical use cases are calling Linux tools and personal shell functions from a PowerShell prompt, using commands that depend on environment settings made in the Bash configuration, and building PowerShell scripts that hand individual steps to the Linux side. It is aimed at developers and administrators who work in both environments on one Windows machine. The catalog lists wsly in version 1.1.2.
Tags: